- 
		Home
	
 
	- 
CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)
 
- 
3.2.1
 
- 
Code
 
- 
Classes
 
-  Controller 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											49 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											9 | 
										
																	
							 
													
								
																			
											| Total lines | 
											341 | 
										
																			
											| Lines of code | 
											209 | 
										
																			
											| Logical lines of code | 
											97 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											111 | 
										
																			
											| Methods | 
											15 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| prepare_item() | 
									A  | 
																	54 | 
													11 | 
													17 | 
							
					
				| get_item_from_db() | 
									A  | 
																	51 | 
													9 | 
													25 | 
							
					
				| update_item() | 
									S  | 
																	51 | 
													5 | 
													28 | 
							
					
				| create_item() | 
									S  | 
																	47 | 
													4 | 
													39 | 
							
					
				| get_active_banner() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| get_schema() | 
									S  | 
																	56 | 
													2 | 
													22 | 
							
					
				| check_status() | 
									S  | 
																	65 | 
													3 | 
													8 | 
							
					
				| get_instance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| prepare_json() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_active_item() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| get_default_configs() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| delete_item() | 
									S  | 
																	63 | 
													1 | 
													11 | 
							
					
				| load_default() | 
									S  | 
																	62 | 
													1 | 
													11 | 
							
					
				| get_tables() | 
									S  | 
																	72 | 
													1 | 
													6 | 
							
					
				| get_template() | 
									S  | 
																	77 | 
													1 | 
													3 |